package com.patttern.creativity.factory.abstractfactory;

/**
 * @Author: root
 * @Date: 2018/12/3 0:52
 */
public class Client {
    public static void main(String[] args) {
        CarFactory a = new AaCarFactory();
        Chair chair =a.createChair();
        chair.messageChair();
        Tyre tyre = a.createTyre();
        tyre.messageTyre();
    }
}
